# 判断操作系统
import platform

if 'Window' in platform.architecture():
    print('hasaki')

# platform.architecture() ('64bit', 'WindowsPE')

# 获取系统号
platform.platform()         # 'Windows-10-10.0.17134-SP0'

if 'Linux' in platform.platform()[:7]:
    print('hasak9i')